//
//  MyEMBuddy.m
//  UESTCPioneer
//
//  Created by Apple on 14-11-19.
//  Copyright (c) 2014年 Sway. All rights reserved.
//

#import "MyEMBuddy.h"


@implementation MyEMBuddy

-(id)initWithRealName:(NSString *)realName  buddy:(EMBuddy *)buddy{

    self = [self init];
    if (self) {
        self.username = buddy.username;
        self.realName = realName;
        self.followState = buddy.followState;
        self.isPendingApproval = buddy.isPendingApproval;
        self.buddy = buddy;
    }
    return self;
}

-(id)initWithRealName:(NSString *)realName  conversion:(EMConversation *)conversion{
    
    self = [self init];
    if (self) {
        self.realName = realName;
        self.conversion = conversion;
    }
    return self;
}
@end
